﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainFrm.Master" AutoEventWireup="true" CodeBehind="BarCodeRepeat.aspx.cs" Inherits="Ewts.Storage.BarCodeRepeat" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="EwtsConext" runat="server">
<div class="tab1">
	<h1>条码重打</h1>
    <!--一个表单-->
    
    <table class="tab" cellpadding="0" cellspacing="0">
    <tr>
        <td class="tdright">入库单号</td>
        <td class="tdleft"><input runat="server" class="txtWrlno" id="txtWrlno" /></td>
        <td>
            <asp:Button ID="btnSearch" runat="server" Text="搜索" OnClick="btnSearch_Click" />
        </td>
    </tr>
    </table>
    <asp:Repeater ID="rept" runat="server">
      <HeaderTemplate>
    <table id="tbColl" cellpadding="0" cellspacing="0" border="1" style="width:100%;">
      <thead>
        <tr>
 
            <th>入库单号</th>
            <th>入库时间</th>
            <th>条码号</th>
            <th>物品编码</th>
            <th>物品名称</th>
            <th>净重</th>
            <th>数量</th>
            <th>操作</th>
        </tr>
 
      </thead>
 
      <tbody>
 
  </HeaderTemplate>
 
  <ItemTemplate>
 
    <tr>
       
       <td><%# DisWrlNo(Eval("InStrorageID").ToString())%></td>
        <td><%# GetInDate(Eval("InStrorageID").ToString())%></td>
        <td><%# Eval("barcodevalue")%></td>
        <td><%# Eval("goodscode")%></td>
        <td><%# Eval("goodsname")%></td>
        <td><%# Eval("nwt")%></td>
        <td><%# Eval("qty")%></td>
        <td><a href="/Storage/<%# GetFileName() %>?barCodeID=<%# Eval("id") %>" target="_blank" >条码打印</a> </td>
    </tr>
 
  </ItemTemplate>
 
  <FooterTemplate>
 
    </tbody>
 
    </table>
 
  </FooterTemplate>


    </asp:Repeater>
    <script type="text/javascript">

        $(document).ready(function () {

            $('#tbColl').dataTable({ "oLanguage": { "sUrl": "/jquery/jquery.dataTable.cn.txt" },
                "aaSorting": [[0, "asc"]]
            });

        });
 
</script>
  
  </div>

</asp:Content>

